# -*- coding: utf-8 -*-            

# @Project :blog
# @File    : forms .py
# @IDE     :PyCharm
# @Author : Hu Bing
# @Time :   2025/2/10 9:38
from django import forms


class PubBlogForm(forms.Form):
    title = forms.CharField(max_length=200, min_length=2)
    content = forms.CharField(min_length=2)
    category = forms.IntegerField() # category id